{
    "app-id": "org.gnome.Dia",
    "runtime": "org.gnome.Platform",
    "runtime-version": "master",
    "sdk": "org.gnome.Sdk",
    "command": "dia",
    "finish-args": [
        "--filesystem=home",
        "--device=dri",
        "--share=ipc",
        "--socket=fallback-x11",
        "--socket=wayland"
    ],
    "cleanup": [
        "/include",
        "/lib/pkgconfig",
        "/man",
        "/share/doc",
        "/share/gtk-doc",
        "/share/man",
        "/share/pkgconfig",
        "/share/vala",
        "*.la",
        "*.a"
    ],
    "modules": [
        {
            "name": "xpm-pixbuf",
            "buildsystem": "meson",
            "sources": [
                {
                    "type": "git",
                    "url": "https://gitlab.gnome.org/ZanderBrown/xpm-pixbuf.git",
                    "branch" : "main"
                }
            ]
        },
        {
            "name": "dia",
            "buildsystem": "meson",
            "config-opts": [
                "-Dtests=false"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://gitlab.gnome.org/GNOME/dia.git"
                }
            ]
        }
    ]
}
